<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
<link href="<?php echo CSS_PATH;?>te/css/style.css" type="text/css" rel="stylesheet" />
    
   <div class="main">
        
        
        
        
        
        
        
        <!--list--->
        <div class="lists news_main">
            <div class="list_left">
                <div class="searchlist">
                    <input type="text"  class="textlist"/>
                    <input type="submit" class="submitlist" value="" />
                </div>
                <div class="procate">
                	<h6>产品分类</h6>
                </div>
                
<script src="<?php echo JS_PATH;?>te/js/center.js" type="text/javascript">
</script>
                <div class="pro_list">
				
    <?php $nowsid=$catid?>
		   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=27c8fba85a2bfc8a50b96ea6dd0e65e2&action=category&catid=2&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'2','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>

           <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
           
           	<?php $ii++?>
                	<div class="mainProNav">
                        <span><a  <?php if($ii == 1 ) { ?> class="listson" <?php } ?>  href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></span><!--listson-->
                        
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=205bc5030f4bab57875d53a55cc0e774&action=lists&catid=%24r%5Bcatid%5D&num=12&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>$r[catid],'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'12',));}?>
			<?php if(!empty($data)) { ?>
						<div class="nav001">
                            <ul class="navM1"> 
			<?php $n=1;if(is_array($data)) foreach($data AS $p) { ?>
                            	<li><a <?php if($nowsid == $r[catid] ) { ?> class="oncate" <?php } ?> href="<?php echo $p['url'];?>"><?php echo $p['title'];?></a></li>
			<?php $n++;}unset($n); ?>
                            </ul>
                         </div>
			<?php } ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                     </div>
           <?php $n++;}unset($n); ?>
		   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                	
                     
                </div>
                
               
                
            </div>
            <div class="list_right">
            	<div class="pro_show_title"><!--由product title而来-->
                	<h6>产品中心</h6>
                        <h5>当前位置：<a href="<?php echo siteurl($siteid);?>"> 首页</a> >  <?php echo catpos($catid);?>  <?php echo $title;?> </h5>
                </div>
            	<div class="pro_detail">
                	<div class="pro_info">
                    	<h2><?php echo $title;?></h2>
                    	<div class="pro_comm">
                        	<div class="pro_img">
                            	<img src="<?php echo IMG_PATH;?>te/images/pro_show_001.jpg" />
                            </div>
                            <div class="pro_detinfo">
                            	<table>
                                	<tr class="pro_name">
                                    	<th>产品名称:</th>
                                    	<td><?php echo $title;?></td>
                                    </tr>
                                	<tr class="pro_id">
                                    	<th>产品编号:</th>
                                    	<td><?php echo $product_id;?></td>
                                    </tr>
                                    <tr>
                                    	<th style="height:25px;"></th>
                                    	<td></td>
                                    </tr>
                                	<tr class="pro_intro">
                                    	<th>产品产地:</th>
                                    	<td>ddddd</td>
                                    </tr>
                                    <tr>
                                    	<th style="height:25px;"></th>
                                    	<td></td>
                                    </tr>
                                	<tr class="pro_share">
                                    	<th>Share to：</th>
                                    	<td>
                                            <a class="share1" href="#"></a>
                                            <a class="share2" href="#"></a>
                                            <a class="share3" href="#"></a>
                                            <a class="share4" href="#"></a>
                                            <a class="share5" href="#"></a>
                                            <a class="share6" href="#"></a>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="pro_detll">
                     	<div class="pro_detll_title">
                        	<h6>产品详情</h6>
                        </div>
                        <div class="pro_d_d">
                        	<p><br />
                            	<?php echo $content;?>
								
								<br />
                            </p>
                        </div>
                    </div>
                </div>
            
            
            	<div class="pro_show_title">
                	<h6>Related Products</h6>
                </div>
               	<div class="pro_show">
                    <div class="product product1">
                        <a href="#"><img src="<?php echo IMG_PATH;?>te/images/pro_show_001.jpg" />
                        <h6>This is the product title</h6>
                        <p>Here is the product description</p></a>
                    </div>
                    <div class="product product1">
                        <a href="#"><img src="<?php echo IMG_PATH;?>te/images/pro_show_001.jpg" />
                        <h6>This is the product title</h6>
                        <p>Here is the product description</p></a>
                    </div>
                    <div class="product product1">
                        <a href="#"><img src="<?php echo IMG_PATH;?>te/images/pro_show_001.jpg" />
                        <h6>This is the product title</h6>
                        <p>Here is the product description</p></a>
                    </div>
                    <div class="product product1">
                        <a href="#"><img src="<?php echo IMG_PATH;?>te/images/pro_show_001.jpg" />
                        <h6>This is the product title</h6>
                        <p>Here is the product description</p></a>
                    </div>
                </div>
                <div class="clear"></div>
                <div style="height:20px;"></div>
                
                
                
            </div><!--right lists end-->
            <div class="clear"></div>
        </div><!-- lists end-->
        
        
        
        
        
    </div><!-- main end-->
<!--  验证表单-->  
<script src="<?php echo JS_PATH;?>te/js/registinput.js" type="text/javascript">
</script> 
    
    
    
    
    

<?php include template("content","footer"); ?>    